#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include<string.h>
//比较字符串，并排序
void sort(char* arr,int len)
{
	int i = 0;
	for (i = 0; i < len - 1; i++)
	{
		int j = 0;
		for (j = 0; j < len - 1 - i; j++)
		{
			if (arr[j] > arr[j + 1])
			{
				char temp = arr[j];
				arr[j] = arr[j + 1];
				arr[j + 1] = temp;
			}
		}
	}
}
int main()
{
	char arr[100] ={0};
	char ch;
	int i = 0;
	while ((ch = getchar())!='\n')
	{
		if (ch != ' ')
			arr[i++] = ch;
	}
	int len= strlen(arr);
	sort(arr, len);
	for (i = 0; i < len; i++)
	{
		printf("%c ", arr[i]);
	}
	return 0;
}